﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="m_leftmenu_function.ascx.cs" Inherits="cms_admin_Main_m_leftmenu_function" %>
<%@ Register
    Assembly="AjaxControlToolkit"
    Namespace="AjaxControlToolkit"
    TagPrefix="ajaxToolkit" %>

<table border="0" width="180px" cellpadding="3" style="border-collapse: collapse">
	<tr>
		<td>
		<asp:Panel ID="pnQT" runat="server" Visible="false">
	    <asp:Panel ID="pnadmin" runat="server" style="cursor: pointer;">
            <div class="headingmenuleft">
                <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
	                <tr style="height:25px; background-color:#ffffff">
		                <td style="padding-left:10px">Quản trị</td>
		                <td style="width:1px;padding-right:4px">
		                <asp:UpdatePanel ID="upeAdmin" runat="server">
                        <ContentTemplate>
		                    <asp:ImageButton ID="admin_ToggleImage" runat="server" ImageUrl="~/Images/Admin/xuong.gif" AlternateText="collapse"></asp:ImageButton>          
		                </ContentTemplate>
                        </asp:UpdatePanel>
		                </td>
	                </tr>
                </table>
            </div>
        </asp:Panel>
		<asp:Panel id="pnadmincontent" runat="server" style="overflow:hidden;">
             <div id="left_menu">
                 <table id="table3" style="border-collapse: collapse; background-color:#d6dff7" cellpadding="0" width="100%" border="0">
	                    <tr>
	                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                        <td  align="left" style="height: 20px; width:95%">
                                <asp:LinkButton CssClass="LinkButton" ID="lbtdefault" Text="Trang chủ quản trị" runat="server" OnClick="lbtdefault_Click"></asp:LinkButton>
	                        </td>
	                    </tr>
	                    <tr>
	                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
		                    <td align="left" style="height: 20px">
                                <asp:LinkButton CssClass="LinkButton" ID="lbtCauhinhhethong" 
                                    Text="Cấu hình hệ thống" runat="server" onclick="lbtCauhinhhethong_Click"></asp:LinkButton>
			                </td>
	                    </tr>
	                    <tr>
	                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
		                    <td align="left" style="height: 20px">
                                <asp:LinkButton CssClass="LinkButton" ID="lbt_quantritv" Text="Quản trị thành viên" runat="server" OnClick="lbt_quantritv_Click" ></asp:LinkButton>
			                </td>
	                    </tr>
	             </table>
             </div>
          </asp:Panel>
        </asp:Panel>
        <asp:Panel ID="paDanhsach" runat="server" Visible="false">
        <asp:Panel ID="Danhmuc_Header" runat="server" style="cursor: pointer;">
            <div class="headingmenuleft">
                <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
	                <tr style="height:25px; background-color:#ffffff">
		                <td style="padding-left:10px">Danh mục</td>
		                <td style="width:1px;padding-right:4px">
		                <asp:UpdatePanel ID="UpdatePanel13" runat="server">
                        <ContentTemplate>
		                    <asp:ImageButton ID="ibtDanhmuc" runat="server" ImageUrl="~/Images/Admin/xuong.gif" AlternateText="collapse"></asp:ImageButton>          
		                </ContentTemplate>
                        </asp:UpdatePanel>
		                </td>
	                </tr>
                </table>
            </div>
        </asp:Panel>
        <asp:Panel id="Danhmuc_Content" runat="server" style="overflow:hidden;">
             <div id="left_menu">
                 <table id="table15" style="border-collapse: collapse; background-color:#d6dff7" cellpadding="0" width="100%" border="0">
                        <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="lbtPhongban" 
                                 Text="Danh mục phòng ban" runat="server" onclick="lbtPhongban_Click"></asp:LinkButton>   
		                </td>
                    </tr>
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="LinkButton2" 
                                 Text="Danh mục bộ phận" runat="server" onclick="LinkButton2_Click"></asp:LinkButton>   
		                </td>
                    </tr>
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px; height: 20px;">&nbsp;&raquo;&nbsp;</td>
                        <td  align="left" style="height: 20px">
                            <asp:LinkButton CssClass="LinkButton" ID="lbtChucvu" Text="Danh mục chức vụ" 
                                runat="server" onclick="lbtChucvu_Click"></asp:LinkButton>
                        </td>
                    </tr>
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px; height: 20px;">&nbsp;&raquo;&nbsp;</td>
                        <td  align="left" style="height: 20px">
                            <asp:LinkButton CssClass="LinkButton" ID="lbtDanhmuctieuchi" 
                                Text="Danh mục tiêu chí" runat="server" onclick="lbtDanhmuctieuchi_Click"></asp:LinkButton>
                        </td>
                    </tr>
	             </table>
             </div>
          </asp:Panel>
         </asp:Panel>
          <asp:Panel ID="Denghi_Header" runat="server" style="cursor: pointer;">
            <div class="headingmenuleft">
                <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
	                <tr style="height:25px; background-color:#ffffff">
		                <td style="padding-left:10px">Đề nghị</td>
		                <td style="width:1px;padding-right:4px">
		                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
		                    <asp:ImageButton ID="ibtDenghi" runat="server" ImageUrl="~/Images/Admin/xuong.gif" AlternateText="collapse"></asp:ImageButton>          
		                </ContentTemplate>
                        </asp:UpdatePanel>
		                </td>
	                </tr>
                </table>
            </div>
        </asp:Panel>
        <asp:Panel id="Denghi_Content" runat="server" style="overflow:hidden;">
             <div id="left_menu">
                 <table id="table1" style="border-collapse: collapse; background-color:#d6dff7" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="LinkButton1" 
                                 Text="Gửi đề nghị" runat="server" onclick="LinkButton1_Click"></asp:LinkButton>   
		                </td>
                    </tr>
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="lbtDagui" 
                                 Text="Đề nghị đã gửi" runat="server" onclick="lbtDagui_Click"></asp:LinkButton>   
		                </td>
                    </tr>
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="lbtDenghinhan" 
                                 Text="Đề nghị nhận" runat="server" onclick="lbtDenghinhan_Click"></asp:LinkButton>   
		                </td>
                    </tr>
	             </table>
             </div>
          </asp:Panel>
          <asp:Panel ID="Danhgia_Header" runat="server" style="cursor: pointer;">
            <div class="headingmenuleft">
                <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
	                <tr style="height:25px; background-color:#ffffff">
		                <td style="padding-left:10px">Đánh giá</td>
		                <td style="width:1px;padding-right:4px">
		                <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                        <ContentTemplate>
		                    <asp:ImageButton ID="ibtDanhgia" runat="server" ImageUrl="~/Images/Admin/xuong.gif" AlternateText="collapse"></asp:ImageButton>          
		                </ContentTemplate>
                        </asp:UpdatePanel>
		                </td>
	                </tr>
                </table>
            </div>
        </asp:Panel>
        <asp:Panel id="Danhgia_Content" runat="server" style="overflow:hidden;">
             <div id="left_menu">
                 <table id="table2" style="border-collapse: collapse; background-color:#d6dff7" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="lbtDanhgiacanhan" 
                                 Text="Đánh giá cá nhân" runat="server" onclick="lbtDanhgiacanhan_Click"></asp:LinkButton>   
		                </td>
                    </tr>
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="lbtXemdanhgiacanhan" 
                                 Text="Xem đánh giá cá nhân" runat="server"
                                 onclick="lbtXemdanhgiacanhan_Click"></asp:LinkButton>   
		                </td>
                    </tr>
                    <asp:Panel id="pnNhanvien" runat="server" Visible="false">
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="lbtDanhgianhanvien" 
                                 Text="Đánh giá nhân viên" runat="server" 
                                 onclick="lbtDanhgianhanvien_Click"></asp:LinkButton>   
		                </td>
                    </tr>
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="lbtXemdanhgianhanvien" 
                                 Text="Xem đánh giá nhân viên" runat="server" 
                                 onclick="lbtXemdanhgianhanvien_Click"></asp:LinkButton>   
		                </td>
                    </tr>
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="lbtDanhgia_Truongchuyen" 
                                 Text="Đánh giá CN(Trưởng chuyền)" runat="server" 
                                 onclick="lbtDanhgia_Truongchuyen_Click"></asp:LinkButton>   
		                </td>
                    </tr>
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="lbtDanhgia_Quandoc" 
                                 Text="Đánh giá CN(Quản đốc)" runat="server" 
                                 onclick="lbtDanhgia_Quandoc_Click"></asp:LinkButton>   
		                </td>
                    </tr>
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="lbtXemdanhgiaCN" 
                                 Text="Xem đánh giá công nhân" runat="server" 
                                 onclick="lbtXemdanhgiaCN_Click"></asp:LinkButton>   
		                </td>
                    </tr>
                    </asp:Panel>
	             </table>
             </div>
          </asp:Panel>
          <asp:Panel ID="PanelQLHDLV" runat="server" style="cursor: pointer;">
            <div class="headingmenuleft">
                <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
	                <tr style="height:25px; background-color:#ffffff">
		                <td style="padding-left:10px">Hợp đồng làm việc</td>
		                <td style="width:1px;padding-right:4px">
		                <asp:UpdatePanel ID="UpdatePanelQLHDLV" runat="server">
                        <ContentTemplate>
		                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/Admin/xuong.gif" AlternateText="collapse"></asp:ImageButton>          
		                </ContentTemplate>
                        </asp:UpdatePanel>
		                </td>
	                </tr>
                </table>
            </div>
        </asp:Panel>
        <asp:Panel id="PanelContentQLHDLV" runat="server" style="overflow:hidden;">
             <div id="left_menu">
                 <table id="table4" style="border-collapse: collapse; background-color:#d6dff7" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="Lkbxemhdlv" 
                                 Text="Xem hợp đồng làm việc" runat="server"></asp:LinkButton>   
		                </td>
                    </tr>
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="Lkbtaomoihdlv" 
                                 Text="Tạo mới hợp đồng làm việc" runat="server"></asp:LinkButton>   
		                </td>
                    </tr>
                </table>
             </div>
          </asp:Panel>
          <asp:Panel ID="PanelHeaderQLLuongNV" runat="server" style="cursor: pointer;">
            <div class="headingmenuleft">
                <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
	                <tr style="height:25px; background-color:#ffffff">
		                <td style="padding-left:10px">Quản lý lương nhân viên</td>
		                <td style="width:1px;padding-right:4px">
		                <asp:UpdatePanel ID="UpdatePanelQLLNV" runat="server">
                        <ContentTemplate>
		                    <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/Images/Admin/xuong.gif" AlternateText="collapse"></asp:ImageButton>          
		                </ContentTemplate>
                        </asp:UpdatePanel>
		                </td>
	                </tr>
                </table>
            </div>
        </asp:Panel>
        <asp:Panel id="PanelContentQLLNV" runat="server" style="overflow:hidden;">
             <div id="left_menu">
                 <table id="table5" style="border-collapse: collapse; background-color:#d6dff7" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="LkbXemLNV" 
                                 Text="Quản lý lương nhân viên" runat="server"></asp:LinkButton>   
		                </td>
                    </tr>
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="LkbXemKHCV" 
                                 Text="Xem kế hoạch công việc của nhân viên" runat="server"></asp:LinkButton>   
		                </td>
                    </tr>
                </table>
             </div>
          </asp:Panel>
          <asp:Panel ID="PanelHeadertimesheet" runat="server" style="cursor: pointer;">
            <div class="headingmenuleft">
                <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
	                <tr style="height:25px; background-color:#ffffff">
		                <td style="padding-left:10px">Quản lý timesheet</td>
		                <td style="width:1px;padding-right:4px">
		                <asp:UpdatePanel ID="UpdatePaneltimesheet" runat="server">
                        <ContentTemplate>
		                    <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/Images/Admin/xuong.gif" AlternateText="collapse"></asp:ImageButton>          
		                </ContentTemplate>
                        </asp:UpdatePanel>
		                </td>
	                </tr>
                </table>
            </div>
        </asp:Panel>
        <asp:Panel id="PanelContenttimesheet" runat="server" style="overflow:hidden;">
             <div id="left_menu">
                 <table id="table6" style="border-collapse: collapse; background-color:#d6dff7" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="LinkButtonxemtimesheet" 
                                 Text="Xem timesheet" runat="server" onclick="LinkButtonxemtimesheet_Click"></asp:LinkButton>   
		                </td>
                    </tr>
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="LinkButtontaotimesheet" 
                                 Text="Tạo mới timesheet" runat="server" 
                                 onclick="LinkButtontaotimesheet_Click"></asp:LinkButton>   
		                </td>
                    </tr>
                </table>
             </div>
          </asp:Panel>
          <asp:Panel ID="PanelHeaderbaocao" runat="server" style="cursor: pointer;">
            <div class="headingmenuleft">
                <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
	                <tr style="height:25px; background-color:#ffffff">
		                <td style="padding-left:10px">Hợp đồng làm việc</td>
		                <td style="width:1px;padding-right:4px">
		                <asp:UpdatePanel ID="UpdatePanelbaocao" runat="server">
                        <ContentTemplate>
		                    <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="~/Images/Admin/xuong.gif" AlternateText="collapse"></asp:ImageButton>          
		                </ContentTemplate>
                        </asp:UpdatePanel>
		                </td>
	                </tr>
                </table>
            </div>
        </asp:Panel>
        <asp:Panel id="Panelconntent" runat="server" style="overflow:hidden;">
             <div id="left_menu">
                 <table id="table7" style="border-collapse: collapse; background-color:#d6dff7" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="LinkButtonxembaocao" 
                                 Text="Xem báo cáo" runat="server"></asp:LinkButton>   
		                </td>
                    </tr>
                    <tr>
                        <td style="width:5px; vertical-align:top; padding-top:1px">&nbsp;&raquo;&nbsp;</td>
	                    <td align="left" style="height: 20px">
		                     <asp:LinkButton CssClass="LinkButton" ID="LinkButtontaobaocao" 
                                 Text="Tạo báo cáo" runat="server"></asp:LinkButton>   
		                </td>
                    </tr>
                </table>
             </div>
          </asp:Panel>
		</td>
	</tr>
	<tr>
	<td><asp:Literal ID="ltranh" runat="server"></asp:Literal></td>
	</tr>
</table>
<ajaxToolkit:CollapsiblePanelExtender ID="cpeadmin" runat="Server" 
        TargetControlID="pnadmincontent"
        ExpandControlID="pnadmin"
        CollapseControlID="pnadmin"
        
        ExpandedImage="~/Images/Admin/len.gif"
        CollapsedImage="~/Images/Admin/xuong.gif"
        ImageControlID="admin_ToggleImage" />
<ajaxToolkit:CollapsiblePanelExtender ID="cpeDescription" runat="Server" 
        TargetControlID="Danhmuc_Content"
        ExpandControlID="Danhmuc_Header"
        CollapseControlID="Danhmuc_Header"
        
        ExpandedImage="~/Images/Admin/len.gif"
        CollapsedImage="~/Images/Admin/xuong.gif"
        ImageControlID="ibtDanhmuc" />
<ajaxToolkit:CollapsiblePanelExtender ID="cpeDenghi" runat="Server" 
        TargetControlID="Denghi_Content"
        ExpandControlID="Denghi_Header"
        CollapseControlID="Denghi_Header"
        
        ExpandedImage="~/Images/Admin/len.gif"
        CollapsedImage="~/Images/Admin/xuong.gif"
        ImageControlID="ibtDenghi" />
<ajaxToolkit:CollapsiblePanelExtender ID="cpeDanhgia" runat="Server" 
        TargetControlID="Danhgia_Content"
        ExpandControlID="Danhgia_Header"
        CollapseControlID="Danhgia_Header"
        
        ExpandedImage="~/Images/Admin/len.gif"
        CollapsedImage="~/Images/Admin/xuong.gif"
        ImageControlID="ibtDanhgia" />
